package com.hundsun.yr.universal.p2p.bean;

import java.io.Serializable;

import com.hundsun.yr.universal.library.utils.HsStringUtils;





/**
 * @Title: TransferRecord.java 
 * @Description: 转让记录
 * @date 2016-1-22 下午5:44:24 
 * @author:hejun.shen
 * @email:shenhj15971@hundsun.com 
 * @replace author:
 * @replace date:
 * @version V1.0   
 */
public class TransferRecord extends ResponseBean implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 取值的key
	 */
	public static String BASEKEY="investRecord";
	/**
	 * 投资单号
	 */
	private String transferVchrNo;
	/**
	 * 出让人编号
	 */
	private String transferorNo;
	/**
	 * 出让人电话
	 */
	private String transferorMobile;
	/**
	 * 出让人姓名
	 */
	private String transferorName;
	/**
	 * 受让人编号
	 */
	private String assigneeNo;
	/**
	 * 受让人电话
	 */
	private String assigneeMobile;
	/**
	 * 受让人姓名
	 */
	private String assigneeName;
	/**
	 * 转让金额
	 */
	private String amount;
	/**
	 * 转让时间
	 */
	private String investTime;
	public String getTransferVchrNo() {
		return transferVchrNo;
	}
	public void setTransferVchrNo(String transferVchrNo) {
		this.transferVchrNo = transferVchrNo;
	}
	public String getTransferorNo() {
		return transferorNo;
	}
	public void setTransferorNo(String transferorNo) {
		this.transferorNo = transferorNo;
	}
	public String getTransferorMobile() {
		return transferorMobile;
	}
	public void setTransferorMobile(String transferorMobile) {
		this.transferorMobile = transferorMobile;
	}
	public String getTransferorName() {
		return transferorName;
	}
	public void setTransferorName(String transferorName) {
		this.transferorName = transferorName;
	}
	public String getAssigneeNo() {
		return assigneeNo;
	}
	public void setAssigneeNo(String assigneeNo) {
		this.assigneeNo = assigneeNo;
	}
	public String getAssigneeMobile() {
		return assigneeMobile;
	}
	public void setAssigneeMobile(String assigneeMobile) {
		this.assigneeMobile = assigneeMobile;
	}
	public String getAssigneeName() {
		return assigneeName;
	}
	public void setAssigneeName(String assigneeName) {
		this.assigneeName = assigneeName;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public String getInvestTime() {
		return investTime;
	}
	public void setInvestTime(String investTime) {
		this.investTime = investTime;
	}

	
	
	/**
	 * 要显示受让人电话
	 * @return
	 */
	public String displayAssigneeMobile(){
		String mMobile=HsStringUtils.abbreviate(assigneeMobile, "*****", 3, 8);
		return mMobile;
	}
	
	/**
	 * 要显示出让人电话
	 * @return
	 */
	public String displayTransferorMobile(){
		String mMobile=HsStringUtils.abbreviate(transferorMobile, "*****", 3, 8);
		return mMobile;
	}
	
	
}
